package com.xdjd.mobile.business.dao.mapper.activity;

import com.xdjd.mobile.business.entity.model.activity.ActivityChallengeRecordDetailPo;
import net.oschina.durcframework.easymybatis.dao.CrudDao;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface ActivityChallengeRecordDetailPoDao extends CrudDao<ActivityChallengeRecordDetailPo> {
    @Update("update activity_challenge_record_detail set step_number=#{stepNumber} where member_id=#{memberId} and record_date=CURDATE()")
    void updateTodayStepByMemberId(@Param("memberId")Long memberId,@Param("stepNumber")Long stepNumber);
}